<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>观看视频</title>
</head>
<%
	//String parentpath="D:\学习资料\J2EE系统设计与开发实训\大型应用软件\video.mp4";
	String video_path = "", video_name = "", video_id = "";
	if (session.getAttribute("video_path_session") != null && session.getAttribute("video_name_session") != null
			&& session.getAttribute("video_id_session") != null) {
		video_id = (String) session.getAttribute("video_id_session");
		video_path = (String) session.getAttribute("video_path_session");
		video_name = (String) session.getAttribute("video_name_session");
		session.removeAttribute("video_path_session");
		session.removeAttribute("video_name_session");
		session.removeAttribute("video_id_session");
	}
%>
<body>
	<h1>
		&emsp;&emsp;&emsp;
		<%=video_name%></h1>
	<object id="mPlayer1" width=900 height=600
		classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6">
		<param name="URL"
			value="D:\eclipseJavaEE-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps<%=video_path%>" />
		<!-- /JavaEE_WebExp/WebContent/video/video.mp4 -->
		<param name="rate" value="1" />
		<param name="balance" value="0" />
		<param name="currentPosition" value="0" />
		<param name="defaultFrame" value />
		<param name="playCount" value="0" />
		<param name="autoStart" value="0" />
		<param name="currentMarker" value="0" />
		<param name="invokeURLs" value="1" />
		<param name="baseURL" value />
		<param name="volume" value="100" />
		<param name="mute" value="0" />
		<param name="uiMode" value="full" />
		<param name="stretchToFit" value="0" />
		<param name="windowlessVideo" value="0" />
		<param name="enabled" value="1" />
		<param name="enableContextMenu" value="1" />
		<param name="fullScreen" value="0" />
		<param name="SAMIStyle" value />
		<param name="SAMILang" value />
		<param name="SAMIFilename" value />
		<param name="captioningID" value />
		<param name="enableErrorDialogs" value="0" />
		<param name="_cx" value="7779" />
		<param name="_cy" value="1693" />
	</object>
	<a href="../VideoControl/appendixdownload/<%=video_id%>"
		style="text-decoration: none">点击此处下载视频附件</a>

</body>
</html>